package com.brillilab.dao.mapper.space;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.brillilab.domain.po.space.Box;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author wuzhiyu
 * @Title: BoxMapper
 * @ProjectName brill_lab
 * @Description: TODO
 * @date 2018/11/159:19
 */
public interface BoxMapper extends BaseMapper<Box> {
    Integer updateInfo(Box box);
    Integer updateOwner(@Param("boxId") Long boxId, @Param("labMemberId") Long labMemberId);
    Integer updateOwnerByPanelId(@Param("panelId")Long panelId,@Param("labMemberId")Long labMemberId);
    Integer updateBoxInfo(@Param("boxId")Long boxId,@Param("remark")String remark,@Param("userReagentType")String userReagentType,@Param("labMemberId")Long labMemberId);
    List<Long> getLabSingleBoxIdList(@Param("labId")Long labId);
}
